package cn.juque.redoctopus;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @author nuoka
 */
@SpringBootApplication
@EnableRabbit
@EnableCaching
@EnableDubbo
public class RedOctopusApplication extends SpringBootServletInitializer {

  public static void main(String[] args) {
    SpringApplication.run(RedOctopusApplication.class, args);
  }
}
